/*
 * Copyright 2018 JDCLOUD.COM
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *    http:#www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 * Resource API
 * 云托管服务的资源API
 *
 * OpenAPI spec version: v1
 * Contact: 
 *
 * NOTE: This class is auto generated by the jdcloud code generator program.
 */


using System;
using System.Collections.Generic;
using System.Text;
using JDCloudSDK.Core.Service;

using JDCloudSDK.Common.Model;
using JDCloudSDK.Core.Annotation;

namespace  JDCloudSDK.Jdccs.Apis
{

    /// <summary>
    ///  查询机柜列表
    /// </summary>
    public class DescribeCabinetsRequest : JdcloudRequest
    {
        ///<summary>
        /// 页码, 默认为1
        ///</summary>
        public   int? PageNumber{ get; set; }
        ///<summary>
        /// 分页大小，默认为20
        ///</summary>
        public   int? PageSize{ get; set; }
        ///<summary>
        /// 是否查询全部，默认分页
        ///</summary>
        public   int? All{ get; set; }
        ///<summary>
        /// 机柜类型 formal:正式机柜 reserved:预留机柜
        ///</summary>
        public   string CabinetType{ get; set; }
        ///<summary>
        /// 机柜开通状态 disabled:未开通 enabling:开通中 enabled:已开通 disabling:关电中
        ///</summary>
        public   string CabinetOpenStatus{ get; set; }
        ///<summary>
        /// 机柜编码
        ///</summary>
        public   string CabinetNo{ get; set; }
        ///<summary>
        /// 机柜关电工单使用 yes
        ///</summary>
        public   string DeviceMustBeEmpty{ get; set; }
        ///<summary>
        /// roomNo - 房间号，精确匹配，支持多个
        /// cabinetId - 机柜ID，精确匹配，支持多个
        /// cabinetNo - 机柜编码，精确匹配，支持多个
        /// cabinetOpenStatus - 机柜开通状态，精确匹配，支持多个
        /// 
        ///</summary>
        public List<JDCloudSDK.Common.Model.Filter> Filters{ get; set; }

        ///<summary>
        /// cabinetNo - 机柜编码 roomNo - 房间号
        ///</summary>
        public List<JDCloudSDK.Common.Model.Sort> Sorts{ get; set; }

        ///<summary>
        /// IDC机房ID
        ///Required:true
        ///</summary>
        [Required]
        public   string Idc{ get; set; }
    }
}